package net.maku.module.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface AgColorDao {
    @Update("UPDATE ag_color SET value = #{value} WHERE id = 1")
    int updateColor(@Param("value")String value);
    @Select("select value from ag_color  where id = 1")
    String selectColor();

}
